<template>
  <div>
    <h2>欢迎回来，{{ user?.username }}</h2>
    <p>用户ID：{{ user?.userId }}</p>
  </div>
</template>

<script setup>
import { useUserStore } from '@/stores/user'

const { user } = useUserStore()
</script>
